TwoFA\Handler\Twofa\MO2f_Utility C

Total Complexity 117
Dependencies 3
Dependents 27
Total lines 623
Lines of code 400
Logical lines of code 250
Comment lines 202
Methods 28
Properties 0

Methods 28

Method Rating Maintainability Complexity Lines of code
mo2f_retrieve_user_temp_values()
B
40 22 60
set_user_values()
A
44 14 44
mo2f_get_cookie_values()
S
50 7 28
mo2f_start_session()
S
61 8 11
mo2f_get_transient()
S
56 6 18
mo2f_email_backup_codes()
S
59 6 12
unset_session_variables()
S
61 5 13
decrypt_data()
S
56 4 17
mo2f_get_hidden_email()
S
58 4 14
mo2f_check_number_length()
S
63 4 11
get_all_plugins_installed()
S
57 3 16
mo2f_set_transient()
S
59 3 14
mo2f_download_backup_codes()
S
59 3 13
get_codes_warning_email_content()
S
54 1 31
is_json()
S
77 3 3
mo2f_check_empty_or_null()
S
70 3 6
get_index_value()
S
67 3 8
check_if_request_is_from_mobile_device()
S
67 3 7
mo2f_debug_file()
S
61 2 11
unset_temp_user_details_in_table()
S
62 2 11
is_curl_installed()
S
69 2 7
random_str()
S
62 2 10
get_plugin_name_by_identifier()
S
72 2 5
get_hidden_phone()
S
74 1 4
encrypt_data()
S
62 1 10
mo2f_set_cookie_values()
S
65 1 8
mo2f_set_session_value()
S
75 1 4
mo2f_show_error_on_login()
S
74 1 4